<template>
  <div class="comment">
        <textarea
          rows="4"
          maxlength="140"
        />
    <div class="comment-fun">
      <ul class="comment-left">
        <li class="comment-item">
          <i class="iconfont iconxiaolian-copy"></i>
        </li>
        <li class="comment-item">
          <i class="iconfont iconaite"></i>
        </li>
        <li class="comment-item">
          <i class="iconfont iconiconjing"></i>
        </li>
      </ul>
      <div class="comment-right">
        <button class="comment-btn">评论</button>
      </div>
    </div>
  </div>
</template>

<script lang="ts">
export default {
  name: 'index'
}
</script>

<style lang="scss" scoped>
.comment {
  padding-bottom: 20px;

  >textarea {
    outline: none;
    width: 100%;
    border: 1px solid #D0D0D0;
    border-radius: 5px;
    resize: none;
    box-sizing: border-box;
    padding: 5px;
  }

  .comment-fun {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 5px;

    .comment-left {
      display: flex;
      align-items: center;

      .comment-item {
        display: flex;
        align-items: center;
        margin-right: 10px;
        font-size: 30px;
        cursor: pointer;
      }
    }

    .comment-right {
      display: flex;
      align-items: center;

      .comment-btn {
        padding: 5px 10px;
        font-size: 14px;
        height: 30px;
        box-sizing: border-box;
        border: 1px solid #D0D0D0;
        border-radius: 15px;
        background-color: #fff;

        &:hover {
          background-color: #f2f3f4;
        }
      }
    }
  }
}
</style>
